package com.fage.factory;

import com.fage.spring.UserService;
import com.fage.spring.impl.UserServiceImpl;

/**
 * @author lin
 * @version 1.0
 * @date 2020-08-10 15:30
 * @Description //模拟一个静态工厂，创建业务层实现类
 */
public class StaticFactory {
    public static UserService createUserService() {
        return new UserServiceImpl();
    }
}
